<?php
$this->breadcrumbs=array(
	'User Profiles'=>array('index'),
	$model->display_name,
);

$this->menu=array(
	array('label'=>'List UserProfiles', 'url'=>array('index')),
	array('label'=>'Create UserProfiles', 'url'=>array('create')),
	array('label'=>'Update UserProfiles', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete UserProfiles', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage UserProfiles', 'url'=>array('admin')),
);
?>

<h1>View UserProfiles : <?php echo $model->display_name; ?></h1>



 <div class="service-main border-line">
 <div class="service-img border-shadow"><?php echo "<img width='120' height='120' src ='images/profiles/{$model->avatar }' alt='$model->display_name' title='$model->display_name'/>"?></div>
                <div class="service-detail">
                	<p>
                    <b><?php echo CHtml::encode($model->getAttributeLabel('display_name')); ?>:</b>
                	<?php echo CHtml::encode($model->display_name); ?><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('company')); ?>:</b>
                	<?php echo CHtml::encode($model->company); ?><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('phone')); ?>:</b>
                	<?php echo CHtml::encode($model->phone); ?><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('mobile')); ?>:</b>
                	<?php echo CHtml::encode($model->mobile); ?><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('address_line1')); ?>:</b>
                	<?php echo CHtml::encode($model->address_line1); ?><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('address_line2')); ?>:</b>
                	<?php echo CHtml::encode($model->address_line2); ?><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('address_line3')); ?>:</b>
                	<?php echo CHtml::encode($model->address_line3); ?><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('gender')); ?>:</b>
                	<?php echo CHtml::encode($model->gender); ?>   <img width='30' height='30' src ='images/gender.png'/><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('yim_handle')); ?>:</b>
                	<?php echo CHtml::encode($model->yim_handle); ?>  <img width='30' height='30' src ='images/yh.png'/><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('email')); ?>:</b>
                    <?php echo CHtml::mailto($model->user->email); ?>  <img width='50' height='30' src ='images/email.png'/><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('skype_handle')); ?>:</b>
                	<?php echo CHtml::encode($model->skype_handle); ?>   <img width='60' height='30' src ='images/skype.png'/><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('website')); ?>:</b>
                	<?php echo CHtml::link($model->website,$model->website); ?><br />
                    <b><?php echo CHtml::encode($model->getAttributeLabel('facebooksite')); ?>:</b>
                	<?php echo CHtml::link($model->facebooksite,$model->facebooksite); ?><br />
                    
                    </p>
                    
                </div>
 </div>
 
